package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class Orgmanage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 组织id
     */
    @TableId(value = "or_id", type = IdType.AUTO)
    private Integer orId;

    /**
     * 组织名称
     */
    private String orName;

    /**
     * 组织类型（0地区 1部门 2处室）
     */
    private Integer orType;

    /**
     * 组织编号
     */
    private Integer orNum;

    /**
     * 创建时间
     */
    private LocalDate orCreatetime;

    /**
     * 更新时间
     */
    private LocalDate orUpdatetime;


    public Integer getOrId() {
        return orId;
    }

    public void setOrId(Integer orId) {
        this.orId = orId;
    }

    public String getOrName() {
        return orName;
    }

    public void setOrName(String orName) {
        this.orName = orName;
    }

    public Integer getOrType() {
        return orType;
    }

    public void setOrType(Integer orType) {
        this.orType = orType;
    }

    public Integer getOrNum() {
        return orNum;
    }

    public void setOrNum(Integer orNum) {
        this.orNum = orNum;
    }

    public LocalDate getOrCreatetime() {
        return orCreatetime;
    }

    public void setOrCreatetime(LocalDate orCreatetime) {
        this.orCreatetime = orCreatetime;
    }

    public LocalDate getOrUpdatetime() {
        return orUpdatetime;
    }

    public void setOrUpdatetime(LocalDate orUpdatetime) {
        this.orUpdatetime = orUpdatetime;
    }

    @Override
    public String toString() {
        return "Orgmanage{" +
        "orId=" + orId +
        ", orName=" + orName +
        ", orType=" + orType +
        ", orNum=" + orNum +
        ", orCreatetime=" + orCreatetime +
        ", orUpdatetime=" + orUpdatetime +
        "}";
    }
}
